package com.itianyu.blog.dao.beans;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "rel_user_role")
public class RelUserRole implements Serializable {
	private static final long serialVersionUID = 1L;
	
	@Column(name = "ROLE")
	private String role;

	public String getRole() {
		return role;
	}

	public void setRole(String role) {
		this.role = role;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}
	@Id
	@Column(name = "USERNAME")
	private String userName;

	public RelUserRole() {
		super();
	}

}
